package com.fzfnn.scrapbook.entity;

import java.sql.Timestamp;
import java.util.Date;
import java.io.Serializable;

/**
 * 用户信息表(User)实体类
 *
 * @author makejava
 * @since 2025-04-14 20:16:22
 */
public class User implements Serializable {
    private static final long serialVersionUID = 476201787001556653L;
/**
     * 用户ID
     */
    private Integer user_id;
/**
     * 用户名（唯一）
     */
    private String username;
/**
     * 密码（加密存储）
     */
    private String password;
/**
     * 用户邮箱
     */
    private String email;
/**
     * 注册时间
     */
    private java.sql.Timestamp created_at;
/**
     * 用户状态（1：正常，0：禁用）
     */
    private Integer status;

    private String imgurl;
    private String signature;


    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getImgurl() {
        return imgurl;
    }

    public void setImgurl(String imgurl) {
        this.imgurl = imgurl;
    }

    public Integer getUserId() {
        return user_id;
    }

    public void setUserId(Integer userId) {
        this.user_id = userId;
    }

    public Timestamp getCreated_at() {
        return created_at;
    }

    public void setCreated_at(Timestamp created_at) {
        this.created_at = created_at;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Timestamp getCreatedAt() {
        return created_at;
    }

    public void setCreatedAt(Timestamp createdAt) {
        this.created_at = createdAt;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }
}

